﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pibby.Core.ViewModels
{
	public class PortableMediaViewModel
	{
		#region Constructor

		public PortableMediaViewModel(bool enabled, bool connected)
		{
			this.Enabled = enabled;
			this.Connected = connected;
		}

		public PortableMediaViewModel(bool enabled, bool connected, string driveName, string volume, long total, long available, int pending)
		{
			this.Enabled = enabled;
			this.Connected = connected;
			this.DriveName = driveName;
			this.VolumeLabel = volume;
			this.FriendlyName = driveName;
			this.TotalSize = total;
			this.AvailableSpace = available;
			this.PendingItems = pending;
		}

		#endregion Constructor

		#region Properties

		public bool Enabled
		{
			get;
			private set;
		}

		public bool Connected
		{
			get;
			private set;
		}

		public string DriveName
		{
			get;
			private set;
		}

		public string VolumeLabel
		{
			get;
			private set;
		}

		public string FriendlyName
		{
			get;
			private set;
		}

		public long TotalSize
		{
			get;
			private set;
		}

		public long AvailableSpace
		{
			get;
			private set;
		}

		public int PendingItems
		{
			get;
			private set;
		}

		#endregion Properties
	}
}
